https://plot.ly/python/ipython-notebook-tutorial/ helpful tutorial on controls
In [ ]:
    
import numpy as np
import matplotlib.pyplot as plt
import random
    
In [ ]:
    
def f(x): 
    return(9.8 * x **2)
def f1(x):
    return(x)
    
In [ ]:
    
print(f(10))
    
In [ ]:
    
x1 = np.arange(-10,10,0.01)
    
In [ ]:
    
plt.plot(x1,f(x1),x1,f1(x1))